package com.franklin.maven.localcleaner.api.swing.tree;

import com.intellij.ui.treeStructure.SimpleNode;

import javax.swing.*;
import java.util.List;

/**
 * 文本高亮树节点
 * @author Franklin
 * @since 2022/04/05 22:06
 */
public abstract class HighlightTextTreeNode<child extends BaseSimpleNode<child>> extends BaseSimpleNode<child>{

    protected final List<String> highlightTextList;
    protected final Icon icon;

    protected HighlightTextTreeNode(SimpleNode aParent, List<String> highlightTextList, Icon icon) {
        super(aParent);
        this.highlightTextList = highlightTextList;
        this.icon = icon;
    }
}
